﻿package effect.image
{
    //特效类当中基本参数
	public class Effect 
	{
		private var Ratio:Number;//缩放比率
		private var Max:Number;//设置最大缩放比率
		private var Distans:Number;//图片距离
		public function Effect()
		{
			
		}
		
		//设置总的属性值
		public function setPorperty(maxValue:Number=0,radioValue:Number=0,distanceValue:Number=0):void
		{
			this.max=maxValue;
			this.ratio=radioValue;
			this.distance=distanceValue;			
		}
				
		//设置最大的缩放比率
		public function set max(value:Number):void
		{
			Max=value;
		}
		public function get max():Number
		{
			return Max;
		}
		//设置鼠标与图片之间距离的差的绝对值的缩放比率
		public function set ratio(value:Number):void
		{
			Ratio=value;
		}
		//设置鼠标与图片之间距离的差的绝对值的缩放比率
		public function get ratio():Number
		{
			return Ratio;
		}
		
		//设置图片之间的距离
		public function set distance(value:Number):void
		{
			Distans=value;
		}
		public function get distance():Number
		{
			return Distans;
		}
	}
}